/**
 * Copyright (C), 2015-2018, XXX有限公司
 * FileName: LoginLogServiceImpl
 * Author:   zhouheng
 * Date:     2018/6/22 23:05
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.hengby.hengcrud.modular.sys.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hengby.hengcrud.modular.sys.mapper.OperationLogMapper;
import com.hengby.hengcrud.modular.sys.model.OperationLog;
import com.hengby.hengcrud.modular.sys.service.IOperationLogService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author zhouheng
 * @create 2018/6/22
 * @since 1.0.0
 */
@Service
public class OperationLogServiceImpl extends ServiceImpl<OperationLogMapper, OperationLog> implements IOperationLogService {
    @Override
    public List<Map<String, Object>> getOperationLogs(Page<OperationLog> page,
                                                      String beginTime,
                                                      String endTime,
                                                      String logName,
                                                      String logType,
                                                      String orderByField,
                                                      boolean asc) {

        return this.baseMapper.getOperationLogs(page,beginTime,endTime,logName,logType,orderByField,asc);
    }

    @Override
    public List<OperationLog> getOperationLogsList(String beginTime, String endTime, String logName, String s, String orderByField, boolean asc) {
        return this.baseMapper.getOperationLogsList(beginTime,endTime,logName,s,orderByField,asc);
    }

}